//
//  ImageCollectionViewCell.m
//  collection添加图片
//
//  Created by apple on 2019/6/4.
//  Copyright © 2019 铁科院. All rights reserved.
//

#import "ImageCollectionViewCell.h"
@interface ImageCollectionViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *imageV;
@property (weak, nonatomic) IBOutlet UIButton *deleteButton;

@end
@implementation ImageCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (IBAction)deleteButtonClick:(UIButton *)sender {
    if (self.deleteButtonBlock) {
        self.deleteButtonBlock(sender);
    }
}

- (void)setImage:(UIImage *)image{
    _image = image;
    self.imageV.image = image;
}

@end
